if(BUOLA_HAVE_TORRENT)
    FILE(GLOB cc_sources *.cc)

    add_executable(bitdaemon ${cc_sources})

    target_link_libraries(bitdaemon buolacore ${LIB_TORRENT})

    install(TARGETS bitdaemon DESTINATION ${BIN_INSTALL_DIR})
endif()
